package com.tedu.parkinglot.admin.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class AdminVO {
    @ApiModelProperty(value = "管理员id")
    private Long id;
    @ApiModelProperty(value = "管理员角色id")
    private Long roleId;
    @ApiModelProperty(value = "管理员昵称")
    private String nickname;
    @ApiModelProperty(value = "管理员姓名")
    private String name;
    @ApiModelProperty(value = "管理员密码")
    private String password;
    @ApiModelProperty(value = "管理员状态")
    private Integer enable;
    @ApiModelProperty(value = "管理员手机号")
    private String phone;
    @ApiModelProperty(value = "管理员生效时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private String startDate;
    @ApiModelProperty(value = "管理员失效时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private String endDate;
}
